package com.inews.business.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * TblBaseRole entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tbl_base_role")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class TblBaseRole implements java.io.Serializable {

	// Fields
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	private String roleId;
	private String roleName;
	private String orgId;
	private String status;
	private String createUserId;
	private String createTime;
	private String lastUpdUserId;
	private String lastUpdDes;
	private String lastUpdTime;
	private String reserved1;
	private String reserved2;

	// Constructors

	/** default constructor */
	public TblBaseRole() {
	}

	/** minimal constructor */
	public TblBaseRole(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TblBaseRole(Long id, String roleId, String roleName, String orgId,
			String status, String createUserId, String createTime,
			String lastUpdUserId, String lastUpdDes, String lastUpdTime,
			String reserved1, String reserved2) {
		this.id = id;
		this.roleId = roleId;
		this.roleName = roleName;
		this.orgId = orgId;
		this.status = status;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.lastUpdUserId = lastUpdUserId;
		this.lastUpdDes = lastUpdDes;
		this.lastUpdTime = lastUpdTime;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastUpdUserId() {
		return lastUpdUserId;
	}

	public void setLastUpdUserId(String lastUpdUserId) {
		this.lastUpdUserId = lastUpdUserId;
	}

	public String getLastUpdDes() {
		return lastUpdDes;
	}

	public void setLastUpdDes(String lastUpdDes) {
		this.lastUpdDes = lastUpdDes;
	}

	public String getLastUpdTime() {
		return lastUpdTime;
	}

	public void setLastUpdTime(String lastUpdTime) {
		this.lastUpdTime = lastUpdTime;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

}